package StudyCode.summary.mycollection;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CheckThatAnArrayOnlyContainsElementsThatAreNotNull {
	public static boolean containsOnlyNotNull(Object... values) {
		for (Object o : values) {
			if (o == null) {
				return false;
			}
		}
		return true;
	}
}
